package com.czk.classreader;

import org.objectweb.asm.ClassVisitor;

/**
 * @Author:ChenZhangKun
 * @Date: 2021/8/4 17:50
 */
public class ClassCloneVisitor extends ClassVisitor {

    public ClassCloneVisitor(int api, ClassVisitor classVisitor) {
        super(api, classVisitor);
    }

    @Override
    public void visit(int version, int access, String name, String signature, String superName, String[] interfaces) {
        super.visit(version, access, name, signature, superName, new String[]{"java/lang/Cloneable"});
    }
}
